package pkg

import (
	"crypto/md5"
	"fmt"
	"io"
)

func Md5(target string) string {
	hash := md5.New()
	_, _ = io.WriteString(hash, target)
	return fmt.Sprintf("%x", hash.Sum(nil))
}
